package com.dayuan.bean;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {
	
	/*@Resource
	 private  static StringRedisTemplate stringRedisTemplate;*/
	
	public static void main(String[] args) {
	
		/*	Jedis jedis = new Jedis("192.168.8.134");
			jedis.set("foo", "bar");
			String value = jedis.get("foo");
			System.out.println(value);
		*/
	
	/*	stringRedisTemplate.opsForValue().set("1111", "222");
		System.out.println(stringRedisTemplate.opsForValue().get("1111"));*/
	/*	
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"ApplicationContext.xml"});
	            StringDao stringDao = context.getBean( StringDao.class);
          stringDao.put("chinese", "中文");
          System.out.println(stringDao.get("chinese"));
          */

	
	}
}
